
project (corelib)

message(STATUS "begin compile corelib.....!")

file(GLOB corelib_src *.cpp)

include_directories(${corelib_inc_SOURCE_DIR})

include_directories(${oem_inc})
include_directories(${sqlite_inc})
include_directories(${soci_inc})
include_directories(${poco_inc})

#output lib to the dir
link_directories(${LIBRARY_OUTPUT_PATH})

add_library(core SHARED ${corelib_src})

set_target_properties(core PROPERTIES COMPILE_FLAGS ${iguard_cxx_flags})

target_link_libraries(core PocoUtil PocoFoundation)

message(STATUS "end compile corelib!")



